<?php
require_once("admin_global.php");    //加载后台全局调用类文件
$db->Get_user_shell_check($uid,$shell);   //后台登录控制

//判断星期几
$d1 = date('D');
switch ($d1) {
    case "Mon":
        $d2 = "星期一";
        break;
    case "Tue":
        $d2 = "星期二";
        break;
    case "Wed":
        $d2 = "星期三";
        break;
    case "Thu":
        $d2 = "星期四";
        break;
    case "Fri":
        $d2 = "星期五";
        break;
    case "Sat":
        $d2 = "星期六";
        break;
    case "Sun":
        $d2 = "星期天";
        break;
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>后台顶部页面</title>
<link rel="stylesheet" href="css/top.css" type="text/css" /> 
</head>
<body>
<div id="top_top">
  <div id="top_top_left"></div>
  <div id="top_top_right">
     <p><img src="images/date.png" /><span><?php echo "今天是：".date('Y',time())."年".date('m',time())."月".date('d',time())."日 ". $d2; ?></span></p>
  </div>
  <div id="top_down">
     <ul>
        <li><a href="right.php" target="mainFrame"><img src="images/menu_icon01.gif" />管理首页</a></li>
        <li><a href="logout.php" target="_top"><img src="images/menu_icon04.gif"/>退出管理</a></li>
     </ul>
  </div>
</div>
</body>
</html>
